<div class="span-19">


                <div id="content">
                    <h1>Create Line</h1>


                    <div class="form">
                    <?php if (isset($error)): ?>
                        <div class="flash-error">
                            <ul>
                                <?php echo $error; ?>
                            </ul>
                        </div>
                    <?php endif; ?>
                        <form enctype="multipart/form-data" id="line-form" action="<?php echo base_url(); ?>line/index" method="post">
                            <p class="note">Fields with <span class="required">*</span> are required.</p>


                            <div class="row">
                                <label for="Line_name" class="required">Name <span class="required">*</span></label>        <input size="50" maxlength="50" name="Line[code]" id="Line_name" type="text">            </div>

                            <div class="row">
                                <label for="Line_start_time_operation" class="required">Start Time Operation <span class="required">*</span></label>        

                                <select name="Line[start_time_operation]" id="start_time_operation">
                                    <option value="00:00:00">00:00:00</option>
                                    <option value="01:00:00">01:00:00</option>
                                    <option value="02:00:00">02:00:00</option>
                                    <option value="03:00:00">03:00:00</option>
                                    <option value="04:00:00">04:00:00</option>
                                    <option value="05:00:00">05:00:00</option>
                                    <option value="06:00:00">06:00:00</option>
                                    <option value="07:00:00">07:00:00</option>
                                    <option value="08:00:00">08:00:00</option>
                                    <option value="09:00:00">09:00:00</option>
                                    <option value="10:00:00">10:00:00</option>
                                    <option value="11:00:00">11:00:00</option>
                                    <option value="12:00:00">12:00:00</option>
                                    <option value="13:00:00">13:00:00</option>
                                    <option value="14:00:00">14:00:00</option>
                                    <option value="15:00:00">15:00:00</option>
                                    <option value="16:00:00">16:00:00</option>
                                    <option value="17:00:00">17:00:00</option>
                                    <option value="18:00:00">18:00:00</option>
                                    <option value="19:00:00">19:00:00</option>
                                    <option value="20:00:00">20:00:00</option>
                                    <option value="21:00:00">21:00:00</option>
                                    <option value="22:00:00">22:00:00</option>
                                    <option value="23:00:00">23:00:00</option>
                                </select>

                            </div>

                            <div class="row">
                                <label for="Line_end_time_operation" class="required">End Time Operation <span class="required">*</span></label>        
                                <select name="Line[end_time_operation]" id="end_time_operation">
                                    <option value="00:00:00">00:00:00</option>
                                    <option value="01:00:00">01:00:00</option>
                                    <option value="02:00:00">02:00:00</option>
                                    <option value="03:00:00">03:00:00</option>
                                    <option value="04:00:00">04:00:00</option>
                                    <option value="05:00:00">05:00:00</option>
                                    <option value="06:00:00">06:00:00</option>
                                    <option value="07:00:00">07:00:00</option>
                                    <option value="08:00:00">08:00:00</option>
                                    <option value="09:00:00">09:00:00</option>
                                    <option value="10:00:00">10:00:00</option>
                                    <option value="11:00:00">11:00:00</option>
                                    <option value="12:00:00">12:00:00</option>
                                    <option value="13:00:00">13:00:00</option>
                                    <option value="14:00:00">14:00:00</option>
                                    <option value="15:00:00">15:00:00</option>
                                    <option value="16:00:00">16:00:00</option>
                                    <option value="17:00:00">17:00:00</option>
                                    <option value="18:00:00">18:00:00</option>
                                    <option value="19:00:00">19:00:00</option>
                                    <option value="20:00:00">20:00:00</option>
                                    <option value="21:00:00">21:00:00</option>
                                    <option value="22:00:00">22:00:00</option>
                                    <option value="23:00:00">23:00:00</option>
                                </select>         
                            </div>

                            <div class="row">
                                <label for="Line_type">Type</label>        <select name="Line[type]" id="Line_type">
                                    <option value="Tram">Tram</option>
                                    <option value="Bus">Bus</option>
                                    <option value="Nightliner">Nightliner</option>
                                    <option value="Regionalbus">Regionalbus</option>
                                </select>            </div>

                            <div class="row">
                                <label for="Line_map" class="required">Map <span class="required">*</span></label>                       
                                <input name="fUpload" id="Line_map" type="file">            </div>

                                        <div class="row buttons">
                                            <input type="submit" name="yt0" value="Create">    </div>

                                        </form>
                                        </div><!-- form -->	</div><!-- content -->



                                        </div>
                                        <div class="span-5 last">
                                            <div id="sidebar">
                                                <div class="portlet" >
                                                    <div class="portlet-decoration">
                                                        <div class="portlet-title">Operations</div>
                                                    </div>
                                                    <div class="portlet-content">
                                                        <ul class="operations" >
                                                            <li><a href="<?php echo base_url();?>line/display">List Line</a></li>
                                                            <li><a href="<?php echo base_url();?>line/manage">Manage Line</a></li>
                                                        </ul></div>
                                                </div>	</div><!-- sidebar -->
                                        </div>
